package day4;

/**
 * @author joker
 * @date 2022/4/14 0014 - 14:19
 */
public class MyThread extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 10000; i++) {
            if (i%2==0){
                System.out.println(Thread.currentThread().getName()+":"+i);
            }
        }
    }
}
